package com.company.vmpx.ui.main.entity;

/**
 * 作者：kkan on 2017/12/04 10:36
 * 当前类注释:
 * 用户,根据实际情况来
 */
public class UserBean {
    private String userId;// 用户ID
    private String userName;// 用户名
    private String phone;// 电话
    private int sex;// 性别
    private String customerImg;//用户头像
    private String realName;//真实名字

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName == null ? "Veni" : userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getCustomerImg() {
        return customerImg;
    }

    public void setCustomerImg(String customerImg) {
        this.customerImg = customerImg;
    }

    public String getRealName() {
        if (realName == null) {
            return "@KKan";
        }
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }
}
